package tools.code.generator.model;

/**
 * @author 沈东生
 */
public class FieldModel {
    String comment;
    Object value;
    String name;

    public FieldModel(String name, Object value, String comment) {
        this.comment = comment;
        this.value = value;
        this.name = name;
    }
    public FieldModel(String name, Object value) {
        this.comment = name;
        this.value = value;
        this.name = name;
    }

    public FieldModel() {

    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Object getValue() {
        return value;
    }

    public void setValue(Object value) {
        this.value = value;
    }
}
